package ejb.facade;

import java.util.List;

import javax.ejb.Local;

import ejb.entities.Event;
import ejb.entities.User;
import java.util.Date;

@Local
public interface EventFacade {
	public abstract void save(Event s);

	public abstract Event update(Event s);

	public abstract void delete(Event s);

	public abstract Event find(int entityID);

	public abstract List<Event> findAll();
        
        public abstract List<Event> findAllAfterToday();
	//public abstract int UpdateEventStatus(String status,User usrFrom,String name);
	//public abstract List<Event> findEventByStatus(String status);
        public Event findEventById(int id);
        public List<Event> findEventByCreator(User us);
        public List<Event> findEventWithBadWeather();
        public List<Event> findMyEventWithBadWeatherOneDayBeforeToday();
        public List<Event> findMyEventOfTomorrow();
        public List<Event> findEventByCreatorAfterToday(User us);
}
